﻿<%@ Page Title="Interface" Language="C#" MasterPageFile="~/Share/MainMenu2.Master"
    AutoEventWireup="true" CodeBehind="frmAccInterface.aspx.cs" Inherits="MixScriptWeb.Accounting.frmAccInterface" %>

<%@ Register Src="~/control/MixScriptTB.ascx" TagName="baseTextBox" TagPrefix="mix" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div style="padding-left: 10px">
        <table class="table-ui" width="100%">
            <tr>
                <td colspan="4" style="padding-left: 10px">
                    <h2>
                        Account Interface</h2>
                </td>
            </tr>
            <tr>
                <td style="width: 32%">
                    Comppany
                </td>
                <td style="width: 1%">
                    :
                </td>
                <td colspan="2">
                    MITSUBA
                </td>
            </tr>
            <tr>
                <td style="width: 32%">
                    Base Currency
                </td>
                <td style="width: 1%">
                    :
                </td>
                <td colspan="2">
                    <asp:DropDownList ID="ddlCurrency" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td colspan="4">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td style="width: 32%">
                    Ret. Earning Last Year
                </td>
                <td style="width: 1%">
                    :
                </td>
                <td style="width: 450" colspan="2">
                    <mix:baseTextBox ID="txtRetEarningLY" runat="server" AllowNull="false" showFind="true"
                        tooltip="" isvalid="True" isPassword="False" tWidht="80" />
                    <asp:Label ID="lblRetEarningLY" runat="server" />
                    <asp:Button runat="server" Text="Save" ID="btnRetEarningLY" OnClick="btnRetEarningLY_click"
                        CssClass="button" />
                </td>
            </tr>
            <tr>
                <td style="width: 32%">
                    Ret. Earning Current Year
                </td>
                <td style="width: 1%">
                    :
                </td>
                <td style="width: 250" colspan="2">
                    <mix:baseTextBox ID="txtRetEarning" runat="server" AllowNull="false" showFind="true"
                        tooltip="" isvalid="True" isPassword="False" tWidht="80" />
                    <asp:Label ID="lblRetEarning" runat="server" />
                    <asp:Button runat="server" Text="Save" ID="btnRetEarningCY" CssClass="button" OnClick="btnRetEarningCY_click" />
                </td>
            </tr>
            <tr>
                <td style="width: 32%">
                    Gain In Forex
                </td>
                <td style="width: 1%">
                    :
                </td>
                <td style="width: 250">
                    <mix:baseTextBox ID="txtGainInForex" runat="server" AllowNull="false" showFind="true"
                        tooltip="" isvalid="True" isPassword="False" tWidht="80" />
                    <asp:Label ID="lblGainInForex" runat="server" />
                    <asp:Button runat="server" Text="Save" ID="btnGaininForex" CssClass="button" OnClick="btnGaininForex_click" />
                </td>
            </tr>
            <tr>
                <td style="width: 32%">
                    Lost In Forex
                </td>
                <td style="width: 1%">
                    :
                </td>
                <td style="width: 250" colspan="2">
                    <mix:baseTextBox ID="txtLostInForex" runat="server" AllowNull="false" showFind="true"
                        tooltip="" isvalid="True" isPassword="False" tWidht="80" />
                    <asp:Label ID="lblLostInForex" runat="server" />
                    <asp:Button runat="server" Text="Save" ID="btnLostInForex" OnClick="btnLostInForex_click"
                        CssClass="button" />
                </td>
            </tr>
            <tr>
                <td style="width: 32%">
                    Purchase Raw Material
                </td>
                <td style="width: 1%">
                    :
                </td>
                <td style="width: 250; vertical-align: top;" colspan="2">
                    <mix:baseTextBox ID="txtPurchaseRawMat" runat="server" AllowNull="false" showFind="true"
                        tooltip="" isvalid="True" isPassword="False" tWidht="200" />
                    <asp:Button runat="server" Text="Save" ID="btnPurchaseRawMaterial" OnClick="btnPurchaseRawMaterial_click"
                        CssClass="button" />
                </td>
            </tr>
            <tr>
                <td colspan="2">
                </td>
                <td colspan="2">
                    <asp:GridView ID="gvPurchaserawMat" DataKeyNames="ID" runat="server" Width="450"
                        AutoGenerateColumns="False" CssClass="gridview" OnRowCommand="Delete_Interface">
                        <EmptyDataTemplate>
                            No record find
                        </EmptyDataTemplate>
                        <Columns>
                            <asp:TemplateField>
                                <ItemTemplate>
                                    <asp:LinkButton runat="server" CommandArgument='<%# Eval("ID") %>' Text="Delete" CommandName="DEL"
                                         />
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField HeaderText="Account No" DataField="accnum" ItemStyle-HorizontalAlign="Center" />
                            <asp:BoundField HeaderText="Account Name" DataField="accname" />
                        </Columns>
                    </asp:GridView>
                </td>
            </tr>
            <tr>
                <td style="width: 32%">
                    Purchase Supplier / Sub Material
                </td>
                <td style="width: 1%">
                    :
                </td>
                <td style="width: 250; vertical-align: top;" colspan="2">
                    <mix:baseTextBox ID="txtPurchaseSupplier" runat="server" AllowNull="false" showFind="true"
                        tooltip="" isvalid="True" isPassword="False" tWidht="200" />
                    <asp:Button runat="server" Text="Save" ID="btnProductSupplier" CssClass="button"
                        OnClick="btnProductSupplier_click" />
                </td>
            </tr>
            <tr>
                <td colspan="2">
                </td>
                <td colspan="2">
                    <asp:GridView ID="gvPurchaseSupplier" DataKeyNames="ID" runat="server" Width="450"
                        AutoGenerateColumns="False" CssClass="gridview" OnRowCommand="Delete_Interface">
                        <EmptyDataTemplate>
                            No record find
                        </EmptyDataTemplate>
                        <Columns>
                        <asp:TemplateField>
                                <ItemTemplate>
                                    <asp:LinkButton runat="server" CommandArgument='<%# Eval("ID") %>' Text="Delete" CommandName="DEL"
                                         />
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField HeaderText="Account No" DataField="accnum" ItemStyle-HorizontalAlign="Center" />
                            <asp:BoundField HeaderText="Account Name" DataField="accname" />
                        </Columns>
                    </asp:GridView>
                </td>
            </tr>
            <tr>
                <td style="width: 32%">
                    Direct Labor Cost
                </td>
                <td style="width: 1%">
                    :
                </td>
                <td style="width: 250; vertical-align: top;" colspan="2">
                    <mix:baseTextBox ID="txtDirectLaborCost" runat="server" AllowNull="false" showFind="true"
                        tooltip="" isvalid="True" isPassword="False" tWidht="200" />
                    <asp:Button runat="server" Text="Save" ID="btnDirectLaborCost" OnClick="btnDirectLaborCost_click"
                        CssClass="button" />
                </td>
            </tr>
            <tr>
                <td colspan="2">
                </td>
                <td style="width: 450; vertical-align: top;" colspan="2">
                    <asp:GridView ID="gvDirectLaborCost" DataKeyNames="ID" runat="server" Width="450"
                        AutoGenerateColumns="False" CssClass="gridview" OnRowCommand="Delete_Interface">
                        <EmptyDataTemplate>
                            No record find
                        </EmptyDataTemplate>
                        <Columns>
                        <asp:TemplateField>
                                <ItemTemplate>
                                    <asp:LinkButton runat="server" CommandArgument='<%# Eval("ID") %>' Text="Delete" CommandName="DEL"
                                         />
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField HeaderText="Account No" DataField="accnum" ItemStyle-HorizontalAlign="Center" />
                            <asp:BoundField HeaderText="Account Name" DataField="accname" />
                        </Columns>
                    </asp:GridView>
                </td>
            </tr>
            <tr>
                <td style="width: 32%">
                    Production Expense
                </td>
                <td style="width: 1%">
                    :
                </td>
                <td style="width: 250; vertical-align: top;" colspan="2">
                    <mix:baseTextBox ID="txtProdExpense" runat="server" AllowNull="false" showFind="true"
                        tooltip="" isvalid="True" isPassword="False" tWidht="200" />
                    <asp:Button runat="server" Text="Save" ID="btnSaveProductExpense" OnClick="btnSaveProductExpense_click"
                        CssClass="button" />
                </td>
            </tr>
            <tr>
                <td colspan="2">
                </td>
                <td style="width: 250; vertical-align: top;" colspan="2">
                    <asp:GridView ID="gvProdExpense" DataKeyNames="ID" CssClass="gridview" runat="server"
                        Width="450" AutoGenerateColumns="False" OnRowCommand="Delete_Interface" >
                        <EmptyDataTemplate>
                            No record find
                        </EmptyDataTemplate>
                        <Columns>
                        <asp:TemplateField>
                                <ItemTemplate>
                                    <asp:LinkButton runat="server" CommandArgument='<%# Eval("ID") %>' Text="Delete" CommandName="DEL"
                                         />
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField HeaderText="Account No" DataField="accnum" ItemStyle-HorizontalAlign="Center" />
                            <asp:BoundField HeaderText="Account Name" DataField="accname" />
                        </Columns>
                    </asp:GridView>
                </td>
            </tr>
            <tr>
                <td style="width: 32%">
                </td>
                <td style="width: 1%">
                </td>
                <td colspan="2">
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
